package com.group6.exam.student.dao;

import java.util.List;
import java.util.Map;

import com.group6.exam.student.entity.StudentEntity;

public interface IStudentDao {

	public boolean login(StudentEntity student);

	// 查询登录者的主菜单
	public List<Map<String, Object>> getMainMenus(String studentno);

	// 查询登录者的子菜单
	public List<Map<String, Object>> getChildMenus(String studentno);
	
	// 查询学生所有信息
	public List<Map<String, Object>> search(String studentno);
    
	//修改密码
	public int update(String studentsno, String newpassword);
    
	//修改点好号码
	public int updatephone(String stuno, String stuphone);
    
	//查询分数
	public List<Map<String, Object>> score(String stuno);

	//开始考试
	public List<Map<String, Object>> start(String stuno);
	
	
}